﻿using System;
using System.Drawing;
using System.Windows.Forms;

namespace Onshi.POS.Formularios.Recursos
{
    public class BotonMenuBase : Button
    {
        #region Constructores

        public BotonMenuBase()
        {
            HandleCreated += new EventHandler(BotonMenuBase_HandleCreated);
        }

        #endregion

        #region Eventos

        private void BotonMenuBase_HandleCreated(Object sender, EventArgs e)
        {
            Font = Properties.Settings.Default.Fuente;
            ImageAlign = ContentAlignment.MiddleCenter;
            TextImageRelation = TextImageRelation.ImageBeforeText;
            Height = 50;
            Width = 50;
            Text = String.Empty;
        }

        #endregion
    }
}
